#ifndef SYSERROR_HEAD_H
#define SYSERROR_HEAD_H
#include "comm.h"
#include "Singleton.h"

#define GET_ERRORMSG( err ) SysError::instance()->get_errmsg(err)


class SysError : public Singleton<SysError>
{
public:
	SysError(void);
public:
	~SysError(void);
public:
	const char * get_errmsg( int err ) ;
	bool init_error_msg();
public:
	std::vector< std::string > error_message;
}

#endif

;
